﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenExpressApp
{
    public class  RulesRegister
    {
        public static readonly RulesRegister Instance = new RulesRegister();

        private IReadOnlyRegister readOnlyRegister = new ReadOnlyRegister();
        private IVisibleRegister visibleCheckRegister = new VisibleRegister();

        private RulesRegister() { }

        public IReadOnlyRegister ReadOnlyRegister
        {
            get
            {
                return readOnlyRegister;
            }
            
        }

        public IVisibleRegister VisibleCheckerRegister
        {
            get
            {
                return visibleCheckRegister;
            }
        }

    }
}
